<html class="no-js" xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
	<body th:fragment="body">
		<script type="text/javascript" th:src="@{'/js/channelInfo/channelInfo.js'}"></script>
		<div class="am-panel am-panel-default">
			<hr/>
			<div class="am-g">
				<div class="am-u-sm-10 am-u-md-8">
					<form id="channelInfo_form" class="am-form am-form-horizontal" method="post">
					
						<div class="am-form-group">
				            <label for="channelId" class="am-u-sm-3 am-form-label">channelId</label>
				            <div class="am-u-sm-9" th:if="${param.channelId} == null">
					            <input type="text" id="channelId" name="channelId" placeholder="channelId" required/>
				            </div>
				            <div class="am-u-sm-9" th:if="${param.channelId} != null">
					            <input type="text" id="channelId" name="channelId" th:value="${param.channelId[0]}" placeholder="" readonly="readonly" />
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="channelName" class="am-u-sm-3 am-form-label">channelName</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="channelName" name="channelName" placeholder="channelName" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="keyboardType" class="am-u-sm-3 am-form-label">keyboardType</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="keyboardType" name="keyboardType" placeholder="keyboardType" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="isOrder" class="am-u-sm-3 am-form-label">isOrder</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="isOrder" name="isOrder" placeholder="isOrder" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="encryptionType" class="am-u-sm-3 am-form-label">encryptionType</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="encryptionType" name="encryptionType" placeholder="encryptionType" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="aesKey" class="am-u-sm-3 am-form-label">aesKey</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="aesKey" name="aesKey" placeholder="aesKey" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="aesIv" class="am-u-sm-3 am-form-label">aesIv</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="aesIv" name="aesIv" placeholder="aesIv" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="sha512Key" class="am-u-sm-3 am-form-label">sha512Key</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="sha512Key" name="sha512Key" placeholder="sha512Key" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="authorizationIp" class="am-u-sm-3 am-form-label">authorizationIp</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="authorizationIp" name="authorizationIp" placeholder="authorizationIp" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <div class="am-u-sm-9 am-u-sm-push-3">
				            	<button type="button" id="saveOrUpdate" class="am-btn am-btn-primary" th:text="${param.channelId} ? '新增' : '修改'"></button>
				            </div>
			            </div>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>